package com.inspinia.message.common.properties;

import java.util.ResourceBundle;

/**
 * description
 *
 * @author wangjun
 * @date 2018/4/27
 */
public class MpushConfig {
    /**
     * 读取resources/mpush-config
     **/
    public static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle("mpush-config");

    public final static String MPUHS_IP = getString("mpush.ip");
    public final static String MPUHS_PORT = getString("mpush.port");

    public static String getString(String key) {
        return RESOURCE_BUNDLE.getString(key);
    }
}
